package com.yuanfengerp.basicInfoManage.paymode.service;

import com.yuanfengerp.basicInfoManage.paymode.moudel.PayMethodInfo;
import com.yuanfengerp.publicUtil.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IPayMethodService {
    Result<String> deletePayMethodInfo(int payment_methods_ordinal);
    Result<String> insertPayMethodInfo(PayMethodInfo payMethodInfo);
    Result<List<PayMethodInfo>> selectAllPayMethodInfo(Map<String,Object> params);
    Result<String> updatePayMethodInfo(PayMethodInfo payMethodInfo);
    Result<List<PayMethodInfo>> selectPayMethodInfo(Map<String, Object> params);
//    Result<PayMethodInfo> selectPayMethodInfoByONS(@Param("payment_methods_ordinal") int payment_methods_ordinal,@Param("payment_methods_name") String payment_methods_name,@Param("payment_methods_state") int payment_methods_state);
}
